package com.chem.lems.serves;

import com.chem.lems.entity.Role;
import com.chem.lems.utils.ResultUtil;

public interface RoleServies {
    ResultUtil tree(String roleId);

    ResultUtil gitRoles();

    ResultUtil deleteMenus(String roleId, int rightId);

    ResultUtil roleAuthorization(String roleId, Integer[] rids);

    ResultUtil gitAllRoleInfo();

    ResultUtil addRole(Role role);

    ResultUtil editRoleInfo(Role role);

    ResultUtil gitRoleInfo(String roleId);

    ResultUtil deleteRole(String roleId);
}
